<?php
namespace App\Api;
/**
 * api错误码定义
 *
 * 无
 *
 * 2018年4月26日 上午10:54:00
 * @category  PHP
 * @package   B2C
 * @author    lijian <lij25@mingyuanyun.com>
 * @copyright 2018 Mingyuanyun
 * @version 1.0.0
 */
final class ErrCode
{
    const OK = \Illuminate\Http\Response::HTTP_OK;
    /**
     * 200-599 同HTTP状态码
     * 1000-9999 公共错误码
     * 10000-99999 业务错误码
     */
    const COMMON_RANDOM_LENGTH_ERR = 1001;
    const COMMON_TIMESTAMP_EMPTY = 1002;
    const COMMON_TIMESTAMP_OVERTIME = 1003;
    const COMMON_TIMESTAMP_OVERDUE = 1004;
    const COMMON_SIGN_EMPTY = 1005;
    const COMMON_SIGN_CHECK_FAIL = 1006;
    const COMMON_NEED_LOGIN = 1007;
    const COMMON_LOGIN_ERROR = 1008;
    const COMMON_LOGIN_AUTH = 1009;
    const COMMON_LOGIN_INVALID_CREDENTIALS = 1010;
    const COMMON_DATA_EMPTY = 1011;
    const COMMON_RANDOM_IS_EMPTY = 1012;

    const COMMON_REQUEST_PARAMS_ERR = 1101;

    const YOU_TU_API_EXCEPTION_ERR = 10001;
    const YOU_TU_API_MULTI_FACE_IDENTIFY_ERR = 10002;
    const YOU_TU_API_FACE_VERIFY_ERR = 10003;
    const FACE_VERIFY_ERR = 10004;
    const FACE_VERIFY_REPEAT_SIGN_IN_ERR = 10005;
    const FACE_NEW_PERSON_ERR = 10006;

    const MEETING_SIGN_IN_NOT_BEGINNING = 10011;
    const MEETING_SIGN_IN_IS_FINISHED = 10012;
    const MEETING_SIGN_IN_IS_EMPTY = 10013;
}